set year=%date:~0,4%
set month=%date:~5,2%
set day=%date:~8,2%
set hour=%time:~0,2%
set minute=%time:~3,2%
set second=%time:~6,2%
set mytime=%year%-%month%-%day%  %hour%:%minute%:%second%

git add .
git add -A
git add -u
git commit -m "auto %mytime%"

git push origin master

::pause